namespace Cos.Core.NHibernate.Mapping
{
    #region Usings

    using FluentNHibernate.Mapping;

    #endregion

    public class BlogTagArticleMap : ClassMap<BlogTagArticleDataModel>
    {
        #region Constructors and Destructors

        public BlogTagArticleMap()
        {
            this.Table("BlogTagArticle");
            this.LazyLoad();
            this.CompositeId()
                .KeyProperty(x => x.ArticleCultureId)
                .KeyProperty(x => x.TagId);
        }

        #endregion
    }
}